package com.ats.str.prm;

public class StrPrmInteger extends StrPrm<Integer> {

	@Override
	public boolean done() { return value >= max; }
	
	@Override
	protected Integer increment() { return value(value + step); }

	@Override
	public Integer next() {
		if (value < max) {
			return increment();
		} 
		return value;
	}
}
